package com.zhiyou.bean;

import lombok.Data;

import javax.persistence.Id;
import java.util.Date;

@Data
public class Comment {

    @Id
    private Integer id;

    private Integer userId;

    private Integer productId;

    private String content;

    private Date createTime;

    private User user;

}